package com.model.dto.machine.machineInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-08-26 10:24
 **/
@Data
public class SaveMachineInfoDTO {
    @ApiModelProperty(value = "ID，新增时传0")
    private Long id;
    @ApiModelProperty(value = "农机编号")
    private String machineNo;
    @ApiModelProperty(value = "幅宽")
    private String toolWidth;
    @ApiModelProperty(value = "生产日期,如2023-08-26")
    private String produceDate;
    @ApiModelProperty(value = "经销商用户ID，没选传null或0")
    private Long dealerUserId;
    @ApiModelProperty(value = "设备型号")
    private String deviceModel;
    @ApiModelProperty(value = "农机类型ID")
    private Integer deviceTypeId;
    @ApiModelProperty(value = "质保类型,1按售后工作时长，2按售后天数")
    private Integer warrantyType;
    @ApiModelProperty(value = "质保单位，1小时，2天，3月，4年")
    private Integer warrantyUnit;
    @ApiModelProperty(value = "质保期")
    private Integer warrantyValue;
    @ApiModelProperty(value = "终端编号")
    private String dtu;
}
